package com.person.jiaiplan.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "clocklogs")
public class Clocklogs {
    /**
     * 主键Id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 计划主键Id
     */
    @TableField(value = "schedule_id")
    private Long scheduleId;

    /**
     * 打卡时间
     */
    @TableField(value = "clock_time")
    private Date clockTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 使用的时间
     */
    @TableField(value = "useage_hour")
    private Double useageHour;

    /**
     * 备注信息
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 打卡类型
     */
    @TableField(value = "clock_type")
    private Integer clockType;
}